package T12;

public class Demo {
    public static void main(String[] args) {
        SendTask s1 = new SendTask("SF62225",10.25);
        s1.sendBefore();
        SFTran t = new SFTran("SF025","五菱之光","岳云鹏");
        System.out.println("---------------------");
        Phone p=new Phone();
        s1.send(t,p);
        System.out.println("---------------------");
        s1.sendAfter(t);
        t.upKeep();
    }
}
